#ifndef TOOLSWIDGET_H
#define TOOLSWIDGET_H

#include <QWidget>
#include <QList>
QT_BEGIN_NAMESPACE
class QButtonGroup;
class QHBoxLayout;
QT_END_NAMESPACE
class QIconButton;
class ToolsWidget : public QWidget
{
    Q_OBJECT
public:
    explicit ToolsWidget(QWidget *parent = nullptr);
    int addIconBtn(QString qsUrl);
signals:
private slots:
    void slotBtnPressed(int);
protected:
    void paintEvent(QPaintEvent *) override;
    void resizeEvent(QResizeEvent* ) override;
private:
    QHBoxLayout*               m_pMainLayout;
    QList<QString>             m_iconList;
    QList<QIconButton*>        m_pIconBtn;
};

#endif // TOOLSWIDGET_H
